<div style="margin: 1em auto; width: 800px;">
    
    <fieldset style="border: 1 solid black; padding: 1em;">
        <legend><?PHP echo $type; ?></legend>
        <strong><?PHP echo $errstr; ?></strong>
        
        <?PHP echo ' in '.$errfile.' on line '.$errline; ?>
    </fieldset>
    
</div>
